package com.行为模型.命令模式.原理;

/**具体命令
 * @author chenhs
 * @date 2020/11/8
 */
public class OrderImpl1 implements  IOrder {
	
	@Override
	public void speak() {
		System.out.println("命令一被调用");
		Carry1 carry1 = new Carry1();
		carry1.carry();
		
	}
}
